package com.ruibang.glass.produce.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-11-15  18:37
 * @Description: TODO
 * @Version: 1.0
 */

@Data
@ApiModel
@TableName("g_product_line")
public class ProductLine extends BaseEntity implements Serializable {

    @ApiModelProperty("产线id")
    @TableId(value = "product_line_id", type = IdType.ASSIGN_ID)
    private String productLineId;

    @ApiModelProperty("产线名称")
    private String productLineName;

    @ApiModelProperty("厂房id")
    private String workshopId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("序号")
    private Integer sort;

    @ApiModelProperty("产线类型")
    private String type;

    @ApiModelProperty("厂房名称")
    @TableField(exist = false)
    private String workshopName;
}
